home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
T-TPUG Old Monthly Disks
/
(c)tg.d64
/
auto line num.c
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2007-02-04
|
752b
|
23 lines
10 SA=49152:REM CHANGE STARTING ADDRESS TO RELOCATE
20 FORI=SATOSA+103:READA:X=X+A:POKEI,A:NEXT
30 SB=SA+29:POKESA+7,INT(SB/256):POKESA+2,SB-INT(SB/256)*256
40 SC=SA+88:POKESA+23,INT(SC/256):POKESA+18,SC-INT(SC/256)*256
50 IFX<>11563THENPRINT"ERROR IN DATA STATEMENTS.":STOP
60 IN=10:POKESA+46,IN:REM INCREMENT CHANGE
70 PRINT"[147]SYS"STR$(SA)" TO RUN[146]":NEW
80 DATA 120,169,29,141,2,3,169
90 DATA 192,141,3,3,169,0,133
100 DATA 20,133,21,169,88,141,20
110 DATA 3,169,192,141,21,3,88
120 DATA 96,173,21,3,201,234,208
130 DATA 6,32,138,255,76,131,164
140 DATA 165,20,24,105,10,133,99
150 DATA 165,21,105,0,133,98,162
160 DATA 144,56,32,73,188,32,221
170 DATA 189,162,0,189,1,1,240
180 DATA 6,157,119,2,232,208,245
190 DATA 169,32,157,119,2,232,134
200 DATA 198,76,131,164,32,225,255
210 DATA 208,8,32,138,255,169,13
220 DATA 32,210,255,76,49,234